package day0715;

public class Test6 {
    public static void main(String[] args) {
        Computer t=new Computer();
        t.startComputer();
        t.model="lenvol";
        System.out.println(t.model);

        t.memory=16;
        System.out.println(t.memory);
    }
}


//类：表示所有电脑
class Computer{
    String model;//属性(成员变量)
    int memory;
    String cpu;
    int diskSize;
    void startComputer(){

    }
}
